projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d7b31d
)
sh: Cleanup source code of MS7722SE
author
Nobuhiro Iwamatsu
<
[email protected]
>
Tue, 17 Jun 2008 07:27:38 +0000
(16:27 +0900)
committer
Nobuhiro Iwamatsu
<
[email protected]
>
Mon, 7 Jul 2008 02:21:38 +0000
(11:21 +0900)
Signed-off-by: Nobuhiro Iwamatsu <
[email protected]
>
Signed-off-by: Nobuhiro Iwamatsu <
[email protected]
>
board/ms7722se/ms7722se.c
patch
|
blob
|
history
diff --git
a/board/ms7722se/ms7722se.c
b/board/ms7722se/ms7722se.c
index 0d3d55cf5cabf66e2facd32c24c5b659c7c532a0..cf02242299fbf227955acb2df764873a810c57a1 100644
(file)
--- a/
board/ms7722se/ms7722se.c
+++ b/
board/ms7722se/ms7722se.c
@@
-1,5
+1,5
@@
/*
- * Copyright (C) 2007
+ * Copyright (C) 2007
,2008
* Nobuhiro Iwamatsu <
[email protected]
>
*
* Copyright (C) 2007
@@
-43,7
+43,7
@@
int board_init(void)
return 0;
}
-int dram_init
(void)
+int dram_init(void)
{
DECLARE_GLOBAL_DATA_PTR;
@@
-53,7
+53,7
@@
int dram_init (void)
return 0;
}
-void led_set_state
(unsigned short value)
+void led_set_state(unsigned short value)
{
-
*((volatile unsigned short *) LED_BASE) = (value & 0xFF
);
+
writew(value & 0xFF, LED_BASE
);
}